const express = require('express')
const path = require('path')
const app = express()
app.get('/',(req,res) => {
    // res.end('呵呵呵呵呵呵呵')
    // res.send({name:'zs',age:18})
    // res.send([1,2,3,4,5])
    res.sendFile(path.join(__dirname,'./views/index.html'))

})
app.listen(3000,() => {
    console.log('http://127.0.0.1:3000')
})